import './assets/main.css'

import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'

// 引入配置好的路由配置
import router from './router'


const app = createApp(App)
// 1. 引入全局组件
import GlobalComDemo from './components/GlobalComDemo.vue'
// 2. 注册全局组件
app.component('GlobalComDemo', GlobalComDemo)

// 挂载到vue实例化对象
app.use(router)

app.use(ElementPlus)
app.mount('#app')
